package tasktracker.abstraction;

public class TaskTrackerCharacteristics implements ITaskTrackerCharacteristics {
	private boolean cancellationSupported;
	private int maxConcurrentSize;
	private boolean taskRestoreSupported;

	public TaskTrackerCharacteristics() {
		cancellationSupported = false;
		maxConcurrentSize = 1;
		taskRestoreSupported = false;
	}

	@Override
	public boolean isCancellationSupported() {
		return cancellationSupported;
	}

	public void setCancellationSupported(boolean cancellationSupported) {
		this.cancellationSupported = cancellationSupported;
	}

	@Override
	public int getMaxConcurrentSize() {
		return maxConcurrentSize;
	}

	public void setMaxConcurrentSize(int maxConcurrentSize) {
		this.maxConcurrentSize = maxConcurrentSize;
	}

	@Override
	public boolean isTaskRestoreSupported() {
		return taskRestoreSupported;
	}

	public void setTaskRestoreSupported(boolean taskRestoreSupported) {
		this.taskRestoreSupported = taskRestoreSupported;
	}

}
